package com.sunrise.xdoc.event;

import java.lang.annotation.ElementType;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Indicate that the method will process the event.
 * 
 * @author PhanHongPhuc
 * 
 */

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ListenerMethod {
	/**
	 * The event names will be accepted to process.
	 * 
	 * @return
	 */
	String[] acceptedEvents();
}
